package cn.green.core.scanner.anno;

import cn.green.core.scanner.QTableComponentScanner;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启动态表组件扫描注解
 * @author wang.yishu
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(QTableComponentScanner.class)
public @interface EnableQTableScan {
    //指定要扫描的包
    String[] basePackages() default {};
}
